package com.newer.service.sys.iter;

import java.util.List;
import java.util.Map;

import com.newer.pojo.sys.Organization;
import com.newer.utils.sys.BootstrapDataTable;

public interface OrganizationService {
	//显示部门
	BootstrapDataTable tableView(BootstrapDataTable dataTable);

	//修改部门
	int updateOrganizationByPrimaryKey(Organization record);
	
	
	//检查部门是否存在
	Map<String, Boolean> selectOrganizationByOrganizationName(String organizationName);
	
	//根据id查询部门
	Organization selectOrganizationById(Integer id);
	
	//删除
	boolean deleteOrganization(List<Integer> ids);
	
	//添加一个部门
	int addOrganization(Organization organization);
}
